package algorithms;


public class Program {

	public static void main(String[] args) {
		MyList list = new MyList();
		list.add(5);
		list.add(6);
		list.add(7);
		list.add(8);


		list.delete(3);
		
		System.out.println(list.get(0));
		System.out.println(list.get(1));
		System.out.println(list.get(2));
		System.out.println(list.get(3));
//		System.out.println(list.get(4));
	}
}
